#!/bin/env ruby
# encoding: utf-8
require_relative '../spec/spec_helper'
require_relative '../spec/commons/user_auth'

describe 'Welcome email settings Page' do
  before {
    
  }



  context "when logged in" do
    it "then he can change emaile template"  do
      goto 'http://pulse.7bits.it/en/login-page'
      user_signs_in()
      email_template()
      #STDERR.puts ('Now URL is: ' + browser.url())
    end
  end

context "when logged out" do
    it "then he can't change emaile template"  do
      user_logout()
    end
  end
 
end
